package org.itboys.store.dto;

import org.itboys.commons.dto.IdValueOption;

import java.util.List;

/**
 * 分类的DTO
 * @author weisky
 *
 */
public class ProductCategoryDto {

	private Long id;//ID
	private String name;//分类名称
	private String image;//分类图片  子分类时需要
	private IdValueOption option;//广告位

	private List<ProductCategoryDto> children;//子分类
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public IdValueOption getOption() {
		return option;
	}

	public void setOption(IdValueOption option) {
		this.option = option;
	}

	public List<ProductCategoryDto> getChildren() {
		return children;
	}

	public void setChildren(List<ProductCategoryDto> children) {
		this.children = children;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
}
